package com.example.hrmsaas.system.utils.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.example.hrmsaas.system.entity.Permission;
import lombok.Data;
import lombok.EqualsAndHashCode;


@Data
@EqualsAndHashCode(callSuper = false)//父类中如果加入了@Data注解，所以要加上@EqualsAndHashCode注解
public class PermissionVo extends Permission {

    private static final long serialVersionUID=1L;

    /**
     *
     *分页参数
     */
    private Integer page=1;
    private Integer limit=10;

    @TableField(exist=false)
    public String CompanyId;

    public void setCompanyId(String companyId) {
        this.CompanyId=companyId;
    }

    public String getCompanyId(String companyId) {
        return  this.CompanyId;
    }
}
